﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace LimaLims.Database.Migrations.Migrations
{
    /// <inheritdoc />
    public partial class updateSysMessageurl : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Url",
                table: "MessageContent",
                type: "nvarchar(max)",
                nullable: true,
                comment: "业务路由");

            migrationBuilder.UpdateData(
                table: "SysTenant",
                keyColumn: "Id",
                keyValue: 142307070918780L,
                column: "CreatedTime",
                value: new DateTime(2025, 1, 8, 15, 2, 0, 982, DateTimeKind.Local).AddTicks(2288));

            migrationBuilder.UpdateData(
                table: "SysUser",
                keyColumn: "Id",
                keyValue: 142307070910551L,
                column: "CreatedTime",
                value: new DateTime(2025, 1, 8, 15, 2, 0, 983, DateTimeKind.Local).AddTicks(3159));

            migrationBuilder.UpdateData(
                table: "Team",
                keyColumn: "Id",
                keyValue: 242307070910559L,
                column: "CreatedTime",
                value: new DateTime(2025, 1, 8, 15, 2, 1, 65, DateTimeKind.Local).AddTicks(2962));
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Url",
                table: "MessageContent");

            migrationBuilder.UpdateData(
                table: "SysTenant",
                keyColumn: "Id",
                keyValue: 142307070918780L,
                column: "CreatedTime",
                value: new DateTime(2025, 1, 6, 20, 42, 3, 101, DateTimeKind.Local).AddTicks(2927));

            migrationBuilder.UpdateData(
                table: "SysUser",
                keyColumn: "Id",
                keyValue: 142307070910551L,
                column: "CreatedTime",
                value: new DateTime(2025, 1, 6, 20, 42, 3, 102, DateTimeKind.Local).AddTicks(2236));

            migrationBuilder.UpdateData(
                table: "Team",
                keyColumn: "Id",
                keyValue: 242307070910559L,
                column: "CreatedTime",
                value: new DateTime(2025, 1, 6, 20, 42, 3, 166, DateTimeKind.Local).AddTicks(9649));
        }
    }
}
